#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"
#include "cpu/reg.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;

	/* TODO: Add more members if necessary */
	int32_t val;
	char* expr;
} WP;


WP* new_wp(); 
void free_wp(WP *wp);
void print_wp();
bool check_wp();
void delete_wp(int no);

#endif
